cmake_minimum_required(VERSION 3.5.0)

set(CMAKE_CXX_STANDARD 11)

project(Main)

add_executable(Main main.cpp Thread.cpp TcpSocket.cpp TcpServer.cpp UdpServer.cpp UdpSocket.cpp TcpClient.cpp UdpClient.cpp)

target_link_libraries(Main pthread)
